<template>
  <el-empty :description="description || '暂无数据'">
    <slot />
  </el-empty>
</template>

<script setup lang="ts">
const props = defineProps({
  description: {
    type: String,
    default: null
  }
});
</script>

<style scoped lang="scss">
</style>